package lab02.Test16;

public class Test {
    public static void main(String[] args) {
        Sum su=new Sum();
        Sub sb=new Sub();
        Mul mu=new Mul();
        Divi di=new Divi();

        double a=5;
        double b=7;


        System.out.println("加："+su.fourMethod(a,b));
        System.out.println("减："+sb.fourMethod(a,b));
        System.out.println("乘："+mu.fourMethod(a,b));
        System.out.println("除："+di.fourMethod(a,b));
    }
}
